{% extend "layout.html" %}

{% block body %}

<form action = "/register" method = "post">
    <input autocomplete = "off" autofocus name = "name" placeholder = "Name" required type = "text">
    <select name = "sport">
        <option disabled selected>Sport</option>
        {% for sports in sprots %}
            <option value = "{{ sprot }}"> {{ sport}}</option>
        {% endfor %}
    </select>
    <button type = "submit">Register</button>
</form>

{% endblock %}
